<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

class Index extends Controller
{
    public function index(){
        return view('admin.index.index');
    }
    public function welcome(){
        return view('admin.index.welcome');
    }
    public function loginout(){
        auth()->logout();
        return redirect('showlogin').with('请重新登录');
    }
}
